package com.baicaixiaozhan.springsecurityswaggerdemo.service;

import com.baicaixiaozhan.springsecurityswaggerdemo.pojo.Person;

import java.util.List;

/**
 * DESC:
 *
 * @author : baicaixiaozhan
 * @since : 2020-11-04
 */
public interface CustomService {

    /**
     * 获取 person list
     * @return List<Person>
     */
    List<Person> getPersonList();

    /**
     * 根据 name 获取 person
     *
     * @param name 名字
     * @return Person
     */
    Person getPersonByName(String name);
}
